package report

type DeviceStat struct {
	Id    string
	Speed int
	Done  bool
	Error string
}
type Stat struct {
	Action      string
	ClientId    string
	Success     bool
	Try         int
	UseTime     float32
	DeviceStats []DeviceStat
}

func (r *Reporter) Report(input *Stat) {
	if r != nil {
		r.send(input)
	}
}
